
#ifndef UI_BLOCKDIALOG_H
#define UI_BLOCKDIALOG_H

#include "pf_blocklist.h"
#include "ui_ui_blockdialog.h"
#include "..\gui_export.h"

class GUI_EXPORT UI_BlockDialog : public QDialog, public Ui::UI_BlockDialog
{
    Q_OBJECT

public:
    UI_BlockDialog(QWidget* parent = 0, const char* name = 0, bool modal = false, Qt::WindowFlags fl = 0);
    ~UI_BlockDialog();

    virtual PF_BlockAttribute getBlockData();

public slots:
    virtual void setBlockList( PF_BlockList * l );
    virtual void validate();
    virtual void cancel();

protected:
    PF_BlockList* blockList;

protected slots:
    virtual void languageChange();

};

#endif // QG_BLOCKDIALOG_H
